package cate.game.demo.msg;

import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBDemo;

import java.util.ArrayList;
import java.util.List;

public class DemoEchoBinResp implements MsgOutput {

    public List<String> words;

    public DemoEchoBinResp() {}

    public DemoEchoBinResp(int dataLen) {
        this.words = new ArrayList<>();
        for(int i = 0; i < dataLen; i++) {
            this.words.add("echo_bin_" + i);
        }
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBDemo.ECHO_BIN;
    }

}
